package com.ipfsemc.ipfsemc.service;

import com.ipfsemc.ipfsemc.model.Hashrate;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHashrateService {

    public int add(Hashrate hashrate) ;

    @Transactional(readOnly = true)
    public List<Hashrate> listHashrate(Hashrate hashrate);
}
